﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;

namespace Empires.RAL.Access
{
    public interface ICompanyBlogAccess
    {
        List<DefaultDataPack> GetBlogList(string copName, int page, int size);
        int GetBlogItemCount(string copName);
        List<DefaultDataPack> GetBlogArticle(string copName, int articleId);

        int DeleteBlogArticle(string copName, int id);

        bool UpdateBlogArticle(string copname, BlogDataPack blogDataPack);

        bool AddBlogArticle(string copname, BlogDataPack blogDataPack);
    }
}
